package com.bw.gmallbi.service.impl;

import com.bw.gmallbi.bean.ProvinceStats;
import com.bw.gmallbi.mapper.ProvinceStatsMapper;
import com.bw.gmallbi.service.ProvinceStatsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 张永俊
 * @Date 2022/1/20 19:10
 */
@Service
public class ProvinceStatsServiceImpl implements ProvinceStatsService {

    @Resource
    private ProvinceStatsMapper provinceStatsMapper;

    @Override
    public List<ProvinceStats> getProvinceStats(Integer date) {
        return provinceStatsMapper.selectProvinceStats(date);
    }

}
